NDepend.API Documentation
OrderByHierarchy(IEnumerable<IMember>) Method
NDepend.CodeModel Namespace > ExtensionMethodsProjection Class > OrderByHierarchy Method : OrderByHierarchy(IEnumerable<IMember>) Method
This sequence of IMember objects.
Returns a sequence that contain these members ordered by hierarchy. For example a type of members is followed by its first child method in sequence, that is followed by its second child method in the sequence...
Syntax
[Extension()]
public static IEnumerable<IMember> OrderByHierarchy( 
   IEnumerable<IMember> members
)

Parameters

members
This sequence of IMember objects.
Remarks
A IType object, is followed by its child IMethod and IField objects.
A IType object, is also followed by its nested ITypeobjects.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjection Class
ExtensionMethodsProjection Members
Overload List